//
//  MJRefreshCustomHeader.m
//  CDHospital_Person
//
//  Created by 创维海通 on 15/12/11.
//  Copyright © 2015年 创维海通. All rights reserved.
//

#import "MJRefreshCustomHeader.h"

@implementation MJRefreshCustomHeader

#pragma mark -重写方法
- (void)prepare
{
    [super prepare];
    
    [self setTitle:@"正在刷新，请稍后..." forState:MJRefreshStateRefreshing];
    // 初始化文字
    [self setTitle:MJRefreshAutoFooterIdleText forState:MJRefreshStateIdle];
    [self setTitle:MJRefreshAutoFooterRefreshingText forState:MJRefreshStateRefreshing];
    [self setTitle:MJRefreshAutoFooterNoMoreDataText forState:MJRefreshStateNoMoreData];
    
//    NSMutableArray *array = [NSMutableArray array];
    //            [array addObject:[UIImage imageNamed:@"Myloading"]];
//    for (NSInteger i = 1; i<13; i++) {
//        NSString *name = [NSString stringWithFormat:@"Myloading%ld",i];
//        [array addObject:[UIImage imageNamed:name]];
//    }
    //            [array addObject:[UIImage imageNamed:@"arrow"]];
//    [self setImages:array forState:MJRefreshStatePulling];
}

@end
